package com.guodu.dao;

import java.util.List;

import com.guodu.entity.MaterialGhyc;
import com.guodu.entity.MaterialghycStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialGhycQueryVo;
import com.guodu.vo.GhycVo;

public interface MaterialGhycDao {
	List<MaterialGhyc> findByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units,int curPage , int pageSize);
	List<MaterialGhyc> findAllByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	int findSizeByVo(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	MaterialGhyc findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialGhyc entity);
	void examine(String ids,Long status);
	void update(MaterialGhyc entity);
	void changeStatus(List<MaterialghycStatus> entities);
	List<MaterialghycStatus> findStatus(String id);
	GhycVo findAllMoney(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	GhycVo findAllKcMoney(MaterialGhycQueryVo materialGhycQueryVo,Units units);
	boolean examinAll(MaterialGhycQueryVo materialGhycQueryVo,
			Units units);
	boolean allBack(MaterialGhycQueryVo materialGhycQueryVo,
			Units units);
	boolean huituiAll(MaterialGhycQueryVo materialGhycQueryVo,
			Units units);
	boolean shanchuAll(MaterialGhycQueryVo materialGhycQueryVo,
			Units units);
}
